package com.dslcode.cloud.provider.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.dslcode.cloud.provider.member.mapper")
@EnableDiscoveryClient// 通过加上@EnableDiscoveryClient注解，该注解能激活Eureka中的DiscoveryClient实现
public class ProviderMemberApplication {

	public static void main(String[] args) {
		SpringApplication.run(ProviderMemberApplication.class, args);
	}
}
